Skip to content

Commit

Permalink
Create bleeding edge preview of website
Browse files Browse the repository at this point in the history
Fixes #12
  • Loading branch information
arnavb committed Sep 21, 2020
1 parent f71a9c5 commit b896d51
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release-bleeding-edge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Release bleeding edge code
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x]

steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm ci, build
run: |
npm ci
npm run build
- name: Release Github Pages
uses: igolopolosov/github-action-release-github-pages@master
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PAGES_REPO_AUTHOR: invisionar
GITHUB_PAGES_REPO_NAME: web-fontend
GITHUB_PAGES_RELEASE_BRANCH: gh-pages
PROJECT_BUILD_FOLDER: build
GITHUB_PAGES_CLEANUP_SCRIPT: "rm bundle* && rm index.html"

0 comments on commit b896d51

Please sign in to comment.