Compare commits
27 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e6597e3c2 | |||
| c0b7003f48 | |||
| d2448028b9 | |||
| 421d08aef7 | |||
| 808fb63d05 | |||
| adcefcea4d | |||
| d53ff2833a | |||
| bf22e376fd | |||
| 678c3e91ee | |||
| b9f55a86f8 | |||
| 32483309e2 | |||
| 125b93de7e | |||
| 05769598f6 | |||
| 13945e495b | |||
| 10aba99488 | |||
| 78925679b1 | |||
| 0e46094946 | |||
| 75efdd9227 | |||
| 0f650ed045 | |||
| c0576b539c | |||
| 301daa79d3 | |||
| c467489d49 | |||
| 564195a362 | |||
| 75d9f983e9 | |||
| f2f8e2905e | |||
| 97dd7d6c3d | |||
| e2370918c7 |
@@ -1,7 +1,13 @@
|
|||||||
# .gitea/workflows/build.yaml
|
# .gitea/workflows/build.yaml
|
||||||
name: Gitea Actions Demo
|
name: Build Workflow
|
||||||
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
|
on:
|
||||||
on: [workflow_dispatch, push]
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths-ignore:
|
||||||
|
- '.gitea/workflows/*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Build:
|
Build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -30,12 +36,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!
|
||||||
@@ -2,18 +2,14 @@ name: Output Information
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, edited, closed, reopened, synchronize]
|
types: [opened, edited, closed, reopened, synchronize]
|
||||||
|
issues:
|
||||||
|
types: [opened, edited, closed, reopened, deleted]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
info:
|
info:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Output GITEA Context
|
- name: Because
|
||||||
run: echo "${{toJSON(gitea.event)}}"
|
run: echo "${{gitea.event.action)}}"
|
||||||
- name: Output JOB Context
|
- name: Output Event Details
|
||||||
run: echo "${{toJSON(job)}}"
|
run: echo "${{toJSON(gitea.event)}}"
|
||||||
- name: Output JOBS Context
|
|
||||||
run: echo "${{toJSON(jobs)}}"
|
|
||||||
- name: Output STEPS Context
|
|
||||||
run: echo "${{toJSON(steps)}}"
|
|
||||||
- name: Output RUNNER Context
|
|
||||||
run: echo "${{toJSON(runner)}}"
|
|
||||||
Reference in New Issue
Block a user