Skip to content

Merge pull request #40 from theypsilon/dependabot/npm_and_yarn/www/ws… #37

Merge pull request #40 from theypsilon/dependabot/npm_and_yarn/www/ws…

Merge pull request #40 from theypsilon/dependabot/npm_and_yarn/www/ws… #37

Workflow file for this run

name: CI / CD
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Docker Build
run: |
set -euo pipefail
./scripts/docker-build.sh --extract-dist 2>&1
git rev-parse HEAD > dist/commit.txt
date >> dist/commit.txt
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: dist
path: ./dist
deploy:
needs: [build]
runs-on: ubuntu-latest
steps:
-
name: Download artifact
uses: actions/download-artifact@v3
with:
name: dist
path: ./dist
- name: Serve
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist