Remove AwakeMonitor #13
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: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*.*.*" | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
# Deploy to local repo | |
- name: Deploy to Release Branch | |
uses: s0/git-publish-subdir-action@develop | |
env: | |
REPO: self | |
BRANCH: release | |
FOLDER: addons/GDTask | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Release | |
run: | | |
mkdir release | |
mv addons/GDTask release | |
pushd release | |
zip -r ../Release.zip * | |
popd | |
- name: Upload Release | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Release | |
path: release | |
- name: Tagged Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: Release.zip |