Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
artemvang committed Jul 16, 2024
1 parent 286663e commit ea9f0ee
Showing 1 changed file with 30 additions and 29 deletions.
59 changes: 30 additions & 29 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
branches: [ network-mirror-updater ]

env:
RDME_VERSION: 0.0.4
Expand All @@ -30,39 +31,39 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set Up Go
uses: actions/setup-go@v5
with:
go-version: "1.19"
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
- name: Upload Provider to Registry
uses: ./.github/actions/upload-provider
with:
gcs-bucket: ${{ secrets.BUCKET_NAME }}
registry-domain: ${{ secrets.DOMAIN }}
gpg-key-id: ${{ steps.import_gpg.outputs.fingerprint }}
gpg-pub-key: ${{ steps.import_gpg.outputs.pubkey }}
# - name: Set Up Go
# uses: actions/setup-go@v5
# with:
# go-version: "1.19"
# - name: Run GoReleaser
# uses: goreleaser/goreleaser-action@v6
# with:
# version: "~> v2"
# args: release --clean
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
# - name: Upload Provider to Registry
# uses: ./.github/actions/upload-provider
# with:
# gcs-bucket: ${{ secrets.BUCKET_NAME }}
# registry-domain: ${{ secrets.DOMAIN }}
# gpg-key-id: ${{ steps.import_gpg.outputs.fingerprint }}
# gpg-pub-key: ${{ steps.import_gpg.outputs.pubkey }}
- name: Update network mirror
uses: ./.github/actions/update-network-mirror
with:
gcs-bucket: ${{ secrets.BUCKET_NAME }}
registry-domain: ${{ secrets.DOMAIN }}
dry-run: false

docs-publish:
name: Publish Docs
needs: [ release ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish
uses: readmeio/rdme@v8
with:
rdme: docs ./docs --key=${{ secrets.README_API_KEY }} --version=${{ env.RDME_VERSION }}
# docs-publish:
# name: Publish Docs
# needs: [ release ]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Publish
# uses: readmeio/rdme@v8
# with:
# rdme: docs ./docs --key=${{ secrets.README_API_KEY }} --version=${{ env.RDME_VERSION }}

0 comments on commit ea9f0ee

Please sign in to comment.