summaryrefslogtreecommitdiff
path: root/@linaria/.github/workflows/site-deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to '@linaria/.github/workflows/site-deploy.yml')
-rw-r--r--@linaria/.github/workflows/site-deploy.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/@linaria/.github/workflows/site-deploy.yml b/@linaria/.github/workflows/site-deploy.yml
new file mode 100644
index 0000000..c84bddd
--- /dev/null
+++ b/@linaria/.github/workflows/site-deploy.yml
@@ -0,0 +1,25 @@
+name: Build and Deploy
+on:
+ push:
+ branches:
+ - master
+jobs:
+ build-and-deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout 🛎️
+ uses: actions/checkout@v2.3.1
+ with:
+ persist-credentials: false
+
+ - name: Install and Build 🔧
+ run: |
+ yarn install --frozen-lockfile
+
+ - name: Deploy 🚀
+ uses: JamesIves/github-pages-deploy-action@3.7.1
+ with:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ BRANCH: gh-pages
+ FOLDER: website
+ CLEAN: true