first commit
Some checks failed
GitHub Actions Build and Deploy mein-techstack / build-deploy (push) Failing after 41s
Some checks failed
GitHub Actions Build and Deploy mein-techstack / build-deploy (push) Failing after 41s
This commit is contained in:
commit
ad63e109c6
18 changed files with 683 additions and 0 deletions
31
.gitea/workflows/develop.yml
Normal file
31
.gitea/workflows/develop.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: GitHub Actions Build and Deploy mein-techstack
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
jobs:
|
||||
build-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
# - run: npm run create:ast
|
||||
- name: Create private key
|
||||
run: |
|
||||
echo "${{ secrets.ACT_RUNNER_KEY }}" > /tmp/act_runner_key
|
||||
chmod 600 /tmp/act_runner_key
|
||||
- name: rsync public directory
|
||||
run: |
|
||||
/usr/bin/rsync -avz --delete -e "ssh -i /tmp/act_runner_key -o StrictHostKeyChecking=no" ${{ gitea.workspace }}/dist/* root@vps03.hadan-it.com:/data/webspace/techstack.hadan.preview.de/
|
||||
- run: echo "This job's status is ${{ job.status }}."
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue