Skip to content

0.8.0

0.8.0 #25

Workflow file for this run

---
name: publish
on:
push:
tags:
- v*
jobs:
npm:
runs-on: ubuntu-20.04
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: ./.github/actions/setup
with:
node_version: '14'
- name: Publish
uses: JS-DevTools/npm-publish@v1
with:
access: public
token: ${{ secrets.NPM_TOKEN }}
github:
runs-on: ubuntu-20.04
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup
uses: ./.github/actions/setup
- name: Publish
uses: JS-DevTools/npm-publish@v1
with:
access: public
token: ${{ secrets.GITHUB_TOKEN }}
registry: https://npm.pkg.github.com
docs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.GH_TOKEN }}
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v3
id: import_gpg
with:
git-user-signingkey: true
git-commit-gpgsign: true
git-committer-name: ${{ secrets.GIT_USER_NAME }}
git-committer-email: ${{ secrets.GIT_USER_EMAIL }}
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
- name: Setup
uses: ./.github/actions/setup
- name: Build
run: npm run build
env:
POSTHOG_API_KEY: ${{ secrets.POSTHOG_API_KEY }}
- name: Publish
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GH_TOKEN }}
publish_dir: build
keep_files: false
cname: docs.pureskill.gg
user_name: ${{ secrets.GIT_USER_NAME }}
user_email: ${{ secrets.GIT_USER_EMAIL }}