-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2c25557
Showing
4 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
liberapay: trouver-une-fresque |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# .github/release.yml | ||
|
||
changelog: | ||
categories: | ||
- title: ✨ Workshops | ||
labels: | ||
- workshop | ||
|
||
- title: 🏕 Features | ||
labels: | ||
- enhancement | ||
|
||
- title: 🐛 Bug Fixes | ||
labels: | ||
- "bug fix" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Déploiement (branches & PR) | ||
|
||
on: | ||
push: | ||
branches: | ||
- "*" | ||
- "!main" | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "21.5" | ||
- run: npm ci | ||
- run: npm test -- --ci | ||
|
||
# deploy-dev: | ||
# # This workflow is only of value to the CovidTrackerFr/vitemadose-front repository and | ||
# # would always fail in forks, so we limit this job to CovidTrackerFr/vitemadose-front | ||
# # It means, 2 different cases when we want to run this job : | ||
# # - 'push' events (as it comes from the repository itself) | ||
# # - 'pull_requests' comming from the base repository | ||
# # See : https://github.com/CovidTrackerFr/vitemadose-front/issues/89 | ||
# if: ${{ github.event_name == 'push' || github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'CovidTrackerFr/vitemadose-front' }} | ||
|
||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Inject slug/short variables | ||
# uses: rlespinasse/github-slug-action@v3.x | ||
# - uses: actions/checkout@v2 | ||
# - name: Use Node.js | ||
# uses: actions/setup-node@v1 | ||
# with: | ||
# node-version: "14.12" | ||
# - run: npm ci | ||
# - run: npm run build -- --base "/${{ env.GITHUB_REF_SLUG }}/" | ||
# - name: rsync deployments | ||
# uses: burnett01/rsync-deployments@4.1 | ||
# with: | ||
# switches: -avz --delete --exclude ".git*" --exclude "offline/*" | ||
# path: ./dist/ | ||
# remote_path: ${{ secrets.DEPLOY_PATH_DEV }}${{ env.GITHUB_REF_SLUG }} | ||
# remote_host: ${{ secrets.DEPLOY_IP }} | ||
# remote_user: ubuntu | ||
# remote_key: ${{ secrets.DEPLOY_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Déploiement | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: "21.5" | ||
- run: npm ci | ||
- run: npm run build | ||
env: | ||
BASE_URL: "https://trouverunefresque.org/" | ||
- name: Deploy to Hostinger via FTP | ||
uses: SamKirkland/FTP-Deploy-Action@v4.3.4 | ||
with: | ||
server: ${{ secrets.HOSTINGER_FTP_SERVER }} | ||
username: ${{ secrets.HOSTINGER_FTP_USERNAME }} | ||
password: ${{ secrets.HOSTINGER_FTP_PASSWORD }} | ||
local-dir: ./dist/ | ||
server-dir: /public_html/ |