Merge pull request #16 from nomandhoni-cs/main #5
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: MasterDeployCI | |
on: | |
push: | |
branches: | |
- production | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Create Release Folder | |
run: rsync -arv --exclude='.git/' --exclude='.github/' --exclude='.gitignore' . ./release | |
- name: Switch to Release Folder | |
run: | | |
cd release | |
ls -la | |
- name: Bump version and push tag | |
uses: anothrNick/github-tag-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.TOKEN }} | |
REPO_OWNER: nomandhoni-cs |