Skip to content

Deploy Release

Deploy Release #70

Workflow file for this run

name: Deploy Release
on:
workflow_run:
workflows: ["JS Test and DokuWiki Default Tasks"]
branches: [master]
types:
- completed
jobs:
build-and-deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
- name: Install and Build 🔧
run: |
yarn install
yarn build
rm -rf .babelrc
rm -rf .eslintrc.js
rm -rf .github
rm -rf .gitignore
rm -rf .travis.yml
rm -rf _jstest
rm -rf _test
rm -rf node_modules
rm -rf package.json
rm -rf pre-commit.hook.sh
rm -rf requirements.txt
rm -rf script
rm -rf stylelint.config.js
rm -rf webpack.config.js
rm -rf yarn.lock
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: release
folder: .