add example gitea action

This commit is contained in:
Cyryl Płotnicki 2023-06-02 12:22:44 +01:00
parent 6a02168c8b
commit 4794765792
3 changed files with 26 additions and 4 deletions

View file

@ -0,0 +1,19 @@
name: Gitea Actions Demo
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."

View file

@ -1,5 +1,5 @@
{
"data": "ENC[AES256_GCM,data:fII/GXEk/AFDw58FICt4aw+H/RorzYnn1wxQbRzgrbJjpKvOvlTKpr9yIv6XE3im,iv:sueXQkVCo1L7eBk1cS2BM18YljS8wB6dA7fSstcDx3M=,tag:5mHr0k2QLR2PwF6+cfa2qA==,type:str]",
"data": "ENC[AES256_GCM,data:xSgFhBYMYncM7JXj4JREd6Yc+YjKloOV46w/iv7ixPVPFAYacBhuS+lnfW5PbRiE,iv:elw/ttIHxxSxPtJ4JU04vN8rpx5GzA32r3sNsRAs95Y=,tag:roUGPEK2lBQmWdIMQnObMw==,type:str]",
"sops": {
"kms": null,
"gcp_kms": null,
@ -47,8 +47,8 @@
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBRTXVwRzVSd2NSSi90SVVu\na05jeitPNnE5TVJ1NXk5WGd6UnhObUwveHg0CjU0dTNxUUdtb253ZHdTMFkycWdI\nbjZsanUwSGdHcFZkckIrRDRTWldha3cKLS0tIE8wM09WMnhNeklnYytUWkVTc01E\neldXYlJXRm1OMWo0T1U3UlY4SFBndVEKs56uk3j02g1g7Ae16UGfwRQJghPvS8iG\nDcIrJp6tb5ToYKeAGcTDpDvaQeNWKBX6fSLVIiJbgDWIbbZp1HRYpw==\n-----END AGE ENCRYPTED FILE-----\n"
}
],
"lastmodified": "2023-06-01T21:23:40Z",
"mac": "ENC[AES256_GCM,data:/79OP1J86viCOkDxvgEtmhuZT6OMvGqXSsnh3nzoNK6hXueupK8Hp7Z6TFytQoYc2ab42jGSQ+qpOGuO6k6CGRSiwBnVoIDohdZVtEj+SVkUpC2b7uLSWGlEVHVEfKTPM627blZW9/Lft9Y+kE1HnG+hDCXSeIulEI2TcWQJGzs=,iv:c/mz1mM250iZCO1c53Fs8wsoKYn2SY6Tg/5P/Hb1lK0=,tag:q5eku5En2jaYwBmiz/xx3g==,type:str]",
"lastmodified": "2023-06-02T11:21:30Z",
"mac": "ENC[AES256_GCM,data:c0eiWJxcztHhtgK2FQBGaSQOU7LXY1TztLg5kUxOwA0kGygtECleJ1/2C/IhF/Jt7APCLvZAfSN07ejSU3C3j8YphIfrSm21IXd2Vh3k12E5giqEe7fEDaMuw/QnPC5KavIpyesqLo+pOlgFaJ+Xol3cPorbpPIz/BoRxwcqfqk=,iv:SRs3pUqdcUNaLJVJV2rfVpW9DqS70MMuKE2fKlMVJ/4=,tag:iJE3/OJkBp5yRoWXzDvYkA==,type:str]",
"pgp": null,
"unencrypted_suffix": "_unencrypted",
"version": "3.7.3"

View file

@ -12,6 +12,9 @@
url = "https://git.cyplo.dev";
tokenFile = config.sops.secrets."gitea-runner-token".path;
name = "bolty1";
labels = [ "nix:docker://nixpkgs/nix-flakes:latest" ];
labels = [
"nix:docker://nixpkgs/nix-flakes:latest"
"ubuntu-latest:docker://ubuntu:latest"
];
};
}