We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 688841d commit 9c74004Copy full SHA for 9c74004
1 file changed
.github/workflows/deploy.yml
@@ -1,17 +1,20 @@
1
-name: Build and Deploy
2
-on: [push]
3
-permissions:
4
- contents: write
5
-
+name: Refresh gh-pages
+
+on:
+ push:
+ branches:
6
+ - main
7
8
jobs:
- build-and-deploy:
- concurrency: ci-${{ github.ref }}
9
+ build-and-test:
10
runs-on: ubuntu-latest
11
12
steps:
- - name: Checkout 🛎️
13
+ - name: Checkout code
14
uses: actions/checkout@v4
15
- - name: Deploy 🚀
- uses: JamesIves/github-pages-deploy-action@v4
16
- with:
17
- folder: .
+ - name: Reset gh-pages to latest main
+ run: |
18
+ git checkout gh-pages
19
+ git reset --hard origin/main
20
+ git push origin gh-pages --force
0 commit comments