Skip to content

chore(release): publish #164

chore(release): publish

chore(release): publish #164

Workflow file for this run

name: Deploy demo
on:
push:
branches: ["master"]
jobs:
deploy:
if: "contains(github.event.head_commit.message, 'chore(release): publish')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: build
run: |
npm ci
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
ICE_SERVERS: ${{secrets.ICE_SERVERS}}
CLOUDFLARE_BETA: 'true'
- name: deploy demo site
uses: jakejarvis/[email protected]
with:
args: --follow-symlinks --delete
env:
AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'eu-west-1'
SOURCE_DIR: 'packages/demo/dist/'