Skip to content

Commit

Permalink
just deploy everything on push master
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Nicolle committed Feb 15, 2024
1 parent 5ca0832 commit 71d4daa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ jobs:
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup ssh
- name: Setup
run: |
mkdir -p ~/.ssh/ && touch ~/.ssh/known_hosts
ssh-keyscan ${{ secrets.SERVER_HOST }} >> ~/.ssh/known_hosts
echo "${{ secrets.SSH_PRIVATE_KEY }}" > $KEY
chmod 600 $KEY
echo "PUBLIC=$DIR/public" >> $GITHUB_ENV
echo "SERVER=${{ env.DIR }}/server.js" >> $GITHUB_ENV
echo "ASSETS=${{ env.DIR }}/public/assets" >> $GITHUB_ENV
echo "INDEX_HTML=${{ env.DIR }}/public/index.html" >> $GITHUB_ENV
- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -34,10 +38,6 @@ jobs:
# echo "DEPLOY_ASSETS=${{ contains(toJson(github.event.pull_request.labels.*.name), 'deploy:assets') }}" >> $GITHUB_ENV
# echo "DEPLOY_SERVER=${{ contains(toJson(github.event.pull_request.labels.*.name), 'deploy:server') }}" >> $GITHUB_ENV
# echo "DEPLOY_CLIENT=${{ contains(toJson(github.event.pull_request.labels.*.name), 'deploy:client') }}" >> $GITHUB_ENV
# echo "PUBLIC=$DIR/public" >> $GITHUB_ENV
# echo "SERVER=${{ env.DIR }}/server.js" >> $GITHUB_ENV
# echo "ASSETS=${{ env.DIR }}/public/assets" >> $GITHUB_ENV
# echo "INDEX_HTML=${{ env.DIR }}/public/index.html" >> $GITHUB_ENV
# if [[ $DEPLOY_ASSETS == 'false' && $DEPLOY_SERVER == 'false' && $DEPLOY_CLIENT == 'false' ]]; then
# exit 1;
# fi
Expand Down

0 comments on commit 71d4daa

Please sign in to comment.