3 Commits

Author SHA1 Message Date
tom.coursow 800ebc414c „test.txt“ ändern
Gitea Actions Demo / Build (push) Successful in 38s
Gitea Actions Demo / Deploy (push) Successful in 39s
2023-07-12 19:53:39 +02:00
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 # .gitea/workflows/build.yaml
name: Build Workflow name: Gitea Actions Demo
on: run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
workflow_dispatch: on: [workflow_dispatch, push]
push:
branches:
- main
paths-ignore:
- '.gitea/workflows/*'
jobs: jobs:
Build: Build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -36,12 +30,12 @@ jobs:
run: npm ci run: npm ci
- name: Build - name: Build
run: npm run build run: npm run build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: dist-files
path: dist/
- name: Deploy - name: Deploy
run: | run: |
echo Deploying... echo Deploying...
sleep 1
echo ...
sleep 1
echo ...
sleep 1
echo DONE! echo DONE!
+11 -7
View File
@@ -1,15 +1,19 @@
name: Output Information name: Output Information
on: on:
pull_request: pull_request:
types: [opened, edited, closed, reopened, synchronize] types: [opened, edited, closed, reopened]
issues:
types: [opened, edited, closed, reopened, deleted]
jobs: jobs:
info: info:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Because - name: Output GITEA Context
run: echo "${{gitea.event.action)}}" run: echo "${{toJSON(gitea.event)}}"
- name: Output Event Details - name: Output JOB Context
run: echo "${{toJSON(gitea.event)}}" 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
test lol upsi test test lol upsi
+1 -1
View File
@@ -1 +1 @@
test lol lol test bip bup