Updated readme and workflows

This commit is contained in:
Shaun Hoffer 2024-07-26 15:27:40 -04:00
parent 274c66071d
commit e059db77c8
3 changed files with 10 additions and 14 deletions

@ -1,14 +1,8 @@
# Woodpecker CI Example # Workflow actions
Here are some examples for our CI interfacee. The following is a comprehensive list on what is supported to use with it. A repository with a bunch of workflow files for Woodpecker CI and Gitea Actions.
## Basic start off ## Using them
Below is a basic workflow that echos an output to the log. Using them should be taken with care. Some are used for pushing code, others are for testing purposes. When you use them, you should fill you own information. These are **only** examples. You are allowed to modify them however you please!
```yaml ## Contributing
steps: Anyone is allowed fork this repository. However, if you are wanting to send your own fork, please be sure that you are following our guidelines of contributing. See more on the docs site.
testmessage:
image: ubuntu
commands:
- echo "Hello world"
- echo "I run on TTGit"
```

@ -10,4 +10,4 @@ steps:
image: ubuntu image: ubuntu
commands: commands:
- ls -ltr _site - ls -ltr _site
- echo "TBA" - echo "Done!"

@ -1,11 +1,13 @@
steps: steps:
pushme: pushme:
image: ubuntu image: ubuntu
secrets: [ gittoken ]
commands: commands:
- chmod -R a+w . - chmod -R a+w .
- apt update - apt update
- apt install -y git wget - apt install -y git wget
- wget https://git.ttnrtsite.me/TTNRT/actions/pages/run.sh - git remote set-url origin https://$GITTOKEN@git.ttnrtsite.me/<username or org>/<repo name>
- wget https://git.ttnrtsite.me/TTNRT/actions/raw/branch/main/pages/run.sh
- chmod +x run.sh - chmod +x run.sh
- bash run.sh <path here> - bash run.sh <path here>
- echo "Done!" - echo "Done!"