Skip to content

chore: trigger deploy (bot) #412

chore: trigger deploy (bot)

chore: trigger deploy (bot) #412

name: Init repository
on:
push:
branches:
- master
jobs:
build-and-deploy:
name: Init repository
runs-on: ubuntu-latest
if: github.event.head_commit.message == 'Setup store'
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Remove LICENSE and edit default README
run: |
git config --local user.email '[email protected]'
git config --local user.name 'GitHub Action'
rm ./LICENSE
mv ./.README.md ./README.md
rm ./.github/workflows/init-repository.yml
git commit -am "chore(init): remove default license and update readme [skip ci]"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master