2 Commits

Author SHA1 Message Date
tom.coursow a826a6b742 „README.md“ ändern
Gitea Actions Demo / Build (push) Successful in 36s
Gitea Actions Demo / Deploy (push) Successful in 38s
Output Information / info (pull_request) Successful in 10s
2023-07-12 19:48:57 +02:00
tom.coursow 1636c042c3 „README.md“ ändern 2023-07-12 19:48:57 +02:00
4 changed files with 21 additions and 23 deletions
+8 -14
View File
@@ -1,13 +1,7 @@
# .gitea/workflows/build.yaml
name: Build Workflow
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- '.gitea/workflows/*'
name: Gitea Actions Demo
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on: [workflow_dispatch, push]
jobs:
Build:
runs-on: ubuntu-latest
@@ -36,12 +30,12 @@ jobs:
run: npm ci
- name: Build
run: npm run build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: dist-files
path: dist/
- name: Deploy
run: |
echo Deploying...
sleep 1
echo ...
sleep 1
echo ...
sleep 1
echo DONE!
+11 -7
View File
@@ -1,15 +1,19 @@
name: Output Information
on:
pull_request:
types: [opened, edited, closed, reopened, synchronize]
issues:
types: [opened, edited, closed, reopened, deleted]
types: [opened, edited, closed, reopened]
jobs:
info:
runs-on: ubuntu-latest
steps:
- name: Because
run: echo "${{gitea.event.action)}}"
- name: Output Event Details
run: echo "${{toJSON(gitea.event)}}"
- name: Output GITEA Context
run: echo "${{toJSON(gitea.event)}}"
- name: Output JOB Context
run: echo "${{toJSON(job)}}"
- name: Output JOBS Context
run: echo "${{toJSON(jobs)}}"
- name: Output STEPS Context
run: echo "${{toJSON(steps)}}"
- name: Output RUNNER Context
run: echo "${{toJSON(runner)}}"
+1 -1
View File
@@ -1,3 +1,3 @@
# test
test lol upsi test
test lol upsi
+1 -1
View File
@@ -1 +1 @@
test lol lol
test