Skip to content

Commit

Permalink
Fix bugs in production deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasKalbertodt committed Jun 11, 2021
1 parent 7f8628f commit 6274ad1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
git fetch
if git checkout gh-pages; then
# Save CNAME and 404.html
tmpdir=$(mktemp)
tmpdir=$(mktemp -d)
cp CNAME 404.html $tmpdir || :
# Remove all previous files
Expand Down Expand Up @@ -69,6 +69,7 @@ jobs:
mv .deploy-settings.toml settings.toml
mv build/* .
rmdir build
rm deploydir.tmp
- name: Commit and push
run: |
Expand Down

0 comments on commit 6274ad1

Please sign in to comment.