22 lines
489 B
YAML
22 lines
489 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: [push]
|
|
|
|
jobs:
|
|
Build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
- name: Build the project
|
|
run: |
|
|
./build.sh
|
|
- name: Login to Gitea
|
|
run: |
|
|
echo $GITEA_TOKEN | docker login -u $GITEA_USER --password-stdin gitea.jde.nz
|
|
- name: Publish
|
|
run: |
|
|
./publish.sh
|
|
|
|
|