File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,20 +2,16 @@ name: Deploy to GitHub Pages
22
33on :
44 push :
5- branches : [ main ]
5+ branches : [ master ]
66 workflow_dispatch :
77
88permissions :
99 contents : read
1010 pages : write
1111 id-token : write
1212
13- concurrency :
14- group : " pages"
15- cancel-in-progress : false
16-
1713jobs :
18- build :
14+ build-and-deploy :
1915 runs-on : ubuntu-latest
2016
2117 steps :
@@ -37,22 +33,10 @@ jobs:
3733 VITE_SUPABASE_ANON_KEY : ${{ secrets.VITE_SUPABASE_ANON_KEY }}
3834 run : npm run build
3935
40- - name : Setup Pages
41- uses : actions/configure-pages@v4
42-
4336 - name : Upload artifact
4437 uses : actions/upload-pages-artifact@v3
4538 with :
4639 path : ./dist
4740
48- deploy :
49- environment :
50- name : github-pages
51- url : ${{ steps.deployment.outputs.page_url }}
52- runs-on : ubuntu-latest
53- needs : build
54-
55- steps :
5641 - name : Deploy to GitHub Pages
57- id : deployment
5842 uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments