From d55e91bad7afadb9eeb43c48ba916529616fd5f0 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 2 Dec 2022 13:00:53 -0500 Subject: [PATCH] Revert "Removing old workflows" This reverts commit 4a35e4d4a3f93608ff85e45c52c7f211a6e747ba. --- .github/workflows/dev_deploy.yaml.bak | 25 +++++++++++++++++++++++++ .github/workflows/prod_deploy.yaml.bak | 25 +++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 .github/workflows/dev_deploy.yaml.bak create mode 100644 .github/workflows/prod_deploy.yaml.bak diff --git a/.github/workflows/dev_deploy.yaml.bak b/.github/workflows/dev_deploy.yaml.bak new file mode 100644 index 0000000..ae93bf1 --- /dev/null +++ b/.github/workflows/dev_deploy.yaml.bak @@ -0,0 +1,25 @@ +# name: NodBot Dev Deploy + +# on: +# push: # tells github to run this on any push to the dev branch +# branches: +# - dev + +# jobs: +# deploy: +# runs-on: ubuntu-latest +# if: github.ref == 'refs/heads/dev' # we tell Github to only execute this step if we're on our dev branch +# steps: +# - name: Deploying to Probey +# uses: appleboy/ssh-action@master # An action made to control Linux servers +# with: # We set all our secrets here for the action, these won't be shown in the action logs +# host: ${{ secrets.HOST }} +# username: ${{ secrets.USERNAME }} +# key: ${{ secrets.KEY }} +# port: ${{ secrets.PORT }} +# script: | +# cd nodbot-dev # we move into our app's folder +# git pull # we pull any changes from git +# npm prune # we remove any unused dependencies +# npm install # we install any missing dependencies +# pm2 reload nodbot-dev # we reload the app via PM2 diff --git a/.github/workflows/prod_deploy.yaml.bak b/.github/workflows/prod_deploy.yaml.bak new file mode 100644 index 0000000..edc92cd --- /dev/null +++ b/.github/workflows/prod_deploy.yaml.bak @@ -0,0 +1,25 @@ +# name: NodBot Production Deploy + +# on: +# push: # tells github to run this on any push to the dev branch +# branches: +# - main + +# jobs: +# deploy: +# runs-on: ubuntu-latest +# if: github.ref == 'refs/heads/main' # we tell Github to only execute this step if we're on our main branch +# steps: +# - name: Deploying to Probey +# uses: appleboy/ssh-action@master # An action made to control Linux servers +# with: # We set all our secrets here for the action, these won't be shown in the action logs +# host: ${{ secrets.HOST }} +# username: ${{ secrets.USERNAME }} +# key: ${{ secrets.KEY }} +# port: ${{ secrets.PORT }} +# script: | +# cd nodbot # we move into our app's folder +# git pull # we pull any changes from git +# npm prune # we remove any unused dependencies +# npm install # we install any missing dependencies +# pm2 reload nodbot # we reload the app via PM2