Skip to content

deploy

deploy #27

Workflow file for this run

name: deploy
on:
workflow_run:
workflows: ["main"]
branches: [master]
types:
- completed
jobs:
deploy:
name: Generate stable boilerplate build
strategy:
matrix:
python-version: [3.8]
node-version: [14.5]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: master
- run: mkdir -p github/workflows
- run: mv proj_main.yml github/workflows/main.yml
- run: git checkout -b boilerplate-release
- run: git add github/workflows/main.yml
- run: git rm proj_main.yml
- run: git commit -m "Replacing project actions" --author "Vinta Software <[email protected]>"
env:
GIT_COMMITTER_NAME: "Vinta Software"
GIT_COMMITTER_EMAIL: "[email protected]"
- run: git push origin boilerplate-release --force