File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 1717
1818run-name : Tag ${{ github.event.inputs.repo }}@${{ github.event.inputs.tag }}
1919
20- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
21- permissions :
22- contents : read
23- pages : write
24- id-token : write
25-
2620jobs :
2721 update_tag :
2822 runs-on : ubuntu-latest
4741 git remote add origin "https://${{ secrets.GRAPHQL_TOKEN }}@github.com/${{ github.event.inputs.repo }}.git"
4842 git push origin "$VERCODE-$VERNAME" -f
4943 curl -X PATCH -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer ${{ secrets.GRAPHQL_TOKEN }}" https://api.github.com/repos/${{ github.event.inputs.repo }}/releases/${{ github.event.inputs.release }} -d "{\"tag_name\":\"${VERCODE}-${VERNAME}\"}"
50-
51- deploy :
52- concurrency :
53- group : ${{ github.sha }}
54- environment :
55- name : github-pages
56- url : ${{ steps.deployment.outputs.page_url }}
57- name : Build Website
58- runs-on : ubuntu-latest
59- steps :
60- - name : Checkout
61- uses : actions/checkout@v4
62- with :
63- fetch-depth : 1
64- - name : Build
65- uses : ./.github/actions/build
66- with :
67- token : ${{ secrets.GRAPHQL_TOKEN }}
68- repo : ${{ github.event.inputs.repo }}
You can’t perform that action at this time.
0 commit comments