Skip to content

Commit

Permalink
actions: change webroot
Browse files Browse the repository at this point in the history
  • Loading branch information
noxilixon committed Jul 16, 2024
1 parent 8f67c80 commit 288621d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
HUGO_MATRIX_HOME_SERVER: ${{ secrets.HUGO_MATRIX_HOME_SERVER }}
HUGO_GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
URL_DEVELOPMENT: ${{ vars.URL_DEVELOPMENT }}
run: hugo --minify -b "$URL_DEVELOPMENT/$GITHUB_REF_NAME" --destination "branch/$GITHUB_REF_NAME"
run: hugo --minify -b "$URL_DEVELOPMENT/$GITHUB_REF_NAME" --destination "$URL_DEVELOPMENT/$GITHUB_REF_NAME"

- name: Create robots.txt
run: 'echo -e "User-agent: *\nDisallow: /" > branch/robots.txt'
Expand All @@ -41,6 +41,6 @@ jobs:
host: ${{ vars.IP_DEVELOPMENT }}
username: ${{ secrets.SSH_USERNAME_DEVELOPMENT }}
key: ${{ secrets.SSH_KEY_DEVELOPMENT }}
source: "branch/${{ github.ref_name }}"
source: "${{ vars.URL_DEVELOPMENT }}/${{ github.ref_name }}"
target: ${{ vars.WEBROOT_DEVELOPMENT}}
strip_components: 1
rm: true

0 comments on commit 288621d

Please sign in to comment.