Skip to content

Commit

Permalink
Ré-introduction du fichier .gitignore & emploi d'un dossier public/ p…
Browse files Browse the repository at this point in the history
…our le déploiement - fix #14
  • Loading branch information
Lucas-C committed Apr 10, 2020
1 parent cfad42c commit dcf2d63
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 182 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ jobs:
- name: Cleanup 🧹
# Discarding dev dependencies to only retain prod ones:
run: npm prune --production
- name: Preparing deploy ⚙️
run: mkdir -p public/ && mv -t public/ node_modules/ assets/ css/ js/ index.html
- name: Deploy 🚀
if: github.ref == 'refs/heads/master'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./
publish_dir: public/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules
22 changes: 0 additions & 22 deletions node_modules/roll-a-die/LICENSE

This file was deleted.

79 changes: 0 additions & 79 deletions node_modules/roll-a-die/README.md

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/roll-a-die/dist/roll-a-die.js

This file was deleted.

79 changes: 0 additions & 79 deletions node_modules/roll-a-die/package.json

This file was deleted.

0 comments on commit dcf2d63

Please sign in to comment.