steevcss/.gitea/workflows/deploy.yaml
Steev 6f7ba303d4
Some checks failed
Gitea Actions Demo / create_release (pull_request) Failing after 13s
.gitea/workflows/deploy.yaml aktualisiert
2023-10-03 16:59:55 +02:00

36 lines
831 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
pull_request:
branches:
- Release
jobs:
create_release:
steps:
- name: Check out den Quellcode
uses: actions/checkout@v2
- name: Install build environment
uses: actions/setup-node@v2
with:
node-version: 'lts'
- name: Install dependencies
run: npm install
- name: Build source
run: npm run build
- name: create release
id: create_release
run: |
git config user.name "gitea"
git config user.email "gitea@git.slpnetwork.de"
git tag v${{ gitea.run_number }} -m "Automatisches Release erstellt"
git push origin v${{ gitea.run_number }}
- name: Print Release URL
run: echo "Created release"