Skip to content

Commit

Permalink
fixed path 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Nicolle committed Feb 15, 2024
1 parent a095480 commit addab54
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 @@ -13,11 +13,6 @@ jobs:
KEY: /tmp/private-key
DIR: ~/motsflex-save
DICOS: ~/dicos
PUBLIC: ~/motsflex-save/public
SERVER: ~/motsflex-save/server.js
ASSETS: $PUBLIC/assets
INDEX_HTML: $PUBLIC/index.html

# if: github.event_name == 'pull_request' && github.event.pull_request.merged == true
steps:
- name: Checkout Repository
Expand Down Expand Up @@ -55,6 +50,11 @@ jobs:
- name: Deploy
if: ${{ success() }}
run: |
echo "PUBLIC=$DIR/public" >> $GITHUB_ENV
echo "SERVER=$DIR/server.js" >> $GITHUB_ENV
echo "ASSETS=$PUBLIC/assets" >> $GITHUB_ENV
echo "INDEX_HTML=$PUBLIC/index.html" >> $GITHUB_ENV
if [ "$DEPLOY_ASSETS" = 'true' ]; then
echo "Deploying JS assets"
# ssh -i $KEY $TARGET "rm -rf ${{ env.ASSETS }} && mkdir -p ${{ env.ASSETS }}"
Expand Down

0 comments on commit addab54

Please sign in to comment.