Compare commits

...

14 commits

Author SHA1 Message Date
c7660c3de4 Merge pull request 'develop' (#206) from develop into main
All checks were successful
Build and Deploy Website / Build Website (push) Successful in 1m36s
Build and Deploy Website / Deploy Dev Website (push) Has been skipped
Build and Deploy Website / Deploy Website (push) Successful in 55s
Reviewed-on: #206
2023-12-06 02:22:51 +00:00
7911f157bd updated workflow
All checks were successful
Build and Deploy Website / Build Website (push) Successful in 1m28s
Build and Deploy Website / Deploy Website (push) Has been skipped
Build and Deploy Website / Deploy Dev Website (push) Successful in 59s
2023-12-06 03:13:25 +01:00
0b2e557e3b updated workflow
Some checks failed
Build and Deploy Website / Build Website (push) Successful in 1m56s
Build and Deploy Website / Deploy Website (push) Has been skipped
Build and Deploy Website / Deploy Dev Website (push) Failing after 15s
2023-12-06 03:08:39 +01:00
c1273bb468 updated workflow
Some checks failed
Build and Deploy Website / Build Website (push) Successful in 1m51s
Build and Deploy Website / deploy-dev (push) Failing after 16s
2023-12-06 03:04:40 +01:00
4969625d8b updated workflow
Some checks failed
Build and Deploy Website / Build Website (push) Successful in 1m48s
Build and Deploy Website / deploy-dev (push) Failing after 21s
2023-12-06 02:55:14 +01:00
c6c3b3426c updated workflow
Some checks failed
Build and Deploy Website / Build Website (push) Successful in 1m53s
Build and Deploy Website / deploy-dev (push) Failing after 4s
some fixes
2023-12-06 02:49:23 +01:00
aa69f5dd07 updated workflow
Some checks failed
Build and Deploy Website / Build Website (push) Successful in 1m50s
Build and Deploy Website / deploy-dev (push) Failing after 13s
2023-12-06 02:38:03 +01:00
3af1791073 updated workflow
All checks were successful
Build and Deploy Website / Build Website (push) Successful in 1m39s
2023-12-06 02:21:39 +01:00
3e19d3bf97 Merge remote-tracking branch 'origin/develop' into develop
Some checks failed
Build and Deploy Website / Build Website (push) Failing after 5s
2023-12-06 02:12:58 +01:00
7f1bc7d212 updated workflow 2023-12-06 02:12:52 +01:00
95f766c56f Merge pull request 'Update dependency flag-icons to ^7.0.3' (#204) from renovate/flag-icons-7.x into develop
Some checks failed
Build and Deploy Website / Build and Deploy Website (push) Failing after 5s
Reviewed-on: #204
2023-12-06 01:03:32 +00:00
84e67be4af Merge remote-tracking branch 'origin/develop' into develop
Some checks failed
Build and Deploy Website / Build and Deploy Website (push) Failing after 4s
2023-12-06 02:03:08 +01:00
d53d67182b added workflow initially 2023-12-06 02:03:02 +01:00
20bd0f548f Update dependency flag-icons to ^7.0.3 2023-12-05 13:00:50 +00:00
3 changed files with 73 additions and 1 deletions

View file

@ -0,0 +1,72 @@
name: Build and Deploy Website
on:
push:
branches:
- main
- develop
jobs:
build:
name: Build Website
runs-on: docker
container:
image: node:lts
steps:
- uses: actions/checkout@v3
- name: Install Dependencies
run: npm install
- name: Build English Version
run: npm run build
- name: Build German Version
run: npm run build:de
- uses: actions/upload-artifact@v3
with:
name: build
path: dist/
deploy-dev:
name: Deploy Dev Website
runs-on: docker
container:
image: node:lts-alpine
needs: [build]
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/download-artifact@v3
- name: Install Dependencies
run: which lftp || ( apk --update add lftp )
- name: Deploy English Version
run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/en/ dev.samuel-philipp.com/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
env:
FTP_HOST: ${{ secrets.FTP_HOST }}
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
- name: Deploy German Version
run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/de/ dev.samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
env:
FTP_HOST: ${{ secrets.FTP_HOST }}
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
deploy:
name: Deploy Website
runs-on: docker
container:
image: node:lts-alpine
needs: [build]
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/download-artifact@v3
- name: Install Dependencies
run: which lftp || ( apk --update add lftp )
- name: Deploy English Version
run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/en/ samuel-philipp.com/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
env:
FTP_HOST: ${{ secrets.FTP_HOST }}
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}
- name: Deploy German Version
run: lftp -e "set ftp:ssl-force true; set ssl:verify-certificate no; mirror -R ./build/de/ samuel-philipp.de/; bye" -u $FTP_USERNAME,$FTP_PASSWORD $FTP_HOST
env:
FTP_HOST: ${{ secrets.FTP_HOST }}
FTP_USERNAME: ${{ secrets.FTP_USERNAME }}
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }}

View file

@ -36,6 +36,6 @@
}, },
"dependencies": { "dependencies": {
"bootstrap": "^5.3.2", "bootstrap": "^5.3.2",
"flag-icons": "^7.0.2" "flag-icons": "^7.0.3"
} }
} }