Add centered join modal for invite link visitors #36
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update Site Version | |
| on: | |
| push: | |
| tags: ["v*"] | |
| jobs: | |
| update-site: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Get version from tag | |
| id: version | |
| run: echo "version=${GITHUB_REF_NAME}" >> "$GITHUB_OUTPUT" | |
| - name: Checkout qntm-site | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: corpollc/qntm-site | |
| token: ${{ secrets.SITE_DEPLOY_TOKEN }} | |
| path: site | |
| - name: Update version.json | |
| run: | | |
| cat > site/version.json <<EOF | |
| { | |
| "version": "${{ steps.version.outputs.version }}", | |
| "date": "$(date -u +%Y-%m-%dT%H:%M:%SZ)" | |
| } | |
| EOF | |
| - name: Commit and push | |
| working-directory: site | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add version.json | |
| git diff --cached --quiet || (git commit -m "chore: update version to ${{ steps.version.outputs.version }}" && git push) |