aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-09-05 21:39:24 -0500
committerFurkan Sahin <furkan-dev@proton.me>2021-09-05 21:39:24 -0500
commitd0975a6e7ee57de4debda94e823011d813fbf4a1 (patch)
tree69d61bf6c29104434b9e3de4946e7d5dd549dec0 /.github/workflows
parentffef3a6be19d1139b6378c8119d444082dd0cbac (diff)
Initial rewrite in svelte
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/deploy.yml41
1 files changed, 0 insertions, 41 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
deleted file mode 100644
index 9932105..0000000
--- a/.github/workflows/deploy.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-name: Deploy to gh-pages
-
-on:
- push:
- branches: [ master ]
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - uses: actions/checkout@v2
-
- - name: Setup node
- uses: actions/setup-node@v2
- with:
- node-version: '14'
-
- - name: Install dependencies
- run: npm ci
-
- - name: Build static files
- run: npm run build
-
- - name: Init repo in dist folder and commit static files
- run: |
- cd dist
- git init
- git add -A
- git config --local user.email "ghactions@github.com"
- git config --local user.name "GitHub Action"
- git commit -m "deploy"
-
- - name: Force push to gh-pages branch
- uses: ad-m/github-push-action@v0.6.0
- with:
- github_token: ${{ secrets.GITHUB_TOKEN }}
- branch: gh-pages
- force: true
- directory: ./dist
-