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
Here are some examples for our CI interfacee. The following is a comprehensive list on what is supported to use with it.
# Workflow actions
A repository with a bunch of workflow files for Woodpecker CI and Gitea Actions.
## Basic start off
Below is a basic workflow that echos an output to the log.
## Using them
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
steps:
testmessage:
image: ubuntu
commands:
- echo "Hello world"
- echo "I run on TTGit"
```
## Contributing
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.

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

@ -1,11 +1,13 @@
steps:
pushme:
image: ubuntu
secrets: [ gittoken ]
commands:
- chmod -R a+w .
- apt update
- 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
- bash run.sh <path here>
- echo "Done!"