Deploy Release #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: . |