File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1- name : Deploy Astro site to Cloudflare Pages
1+ name : Deploy to Cloudflare Pages
22
33on :
44 push :
5- branches : [ main ]
5+ branches :
6+ - main
67
78jobs :
89 deploy :
910 runs-on : ubuntu-latest
1011 permissions :
1112 contents : read
1213 deployments : write
14+ name : Deploy to Cloudflare Pages
1315 steps :
14- - name : Checkout repo
16+ - name : Checkout
1517 uses : actions/checkout@v4
1618
1719 - name : Setup Node.js
1820 uses : actions/setup-node@v4
1921 with :
20- node-version : 20
22+ node-version : " 20"
23+ cache : " npm"
2124
2225 - name : Install dependencies
2326 run : npm ci
2427
25- - name : Build Astro site
28+ - name : Build
2629 run : npm run build
2730
2831 - name : Deploy to Cloudflare Pages
3134 apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
3235 accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3336 command : pages deploy dist --project-name=opensecflow
34- gitHubToken : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments