Compare commits
3 commits
bdfda8b6c2
...
1e78b32dd8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e78b32dd8 | ||
| b6023adc1e | |||
| 61168a35f9 |
2 changed files with 4 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
if: |
|
if: |
|
||||||
forgejo.event.pull_request.head.repo.full_name == forgejo.repository ||
|
forgejo.event.pull_request.head.repo.full_name == forgejo.repository ||
|
||||||
(forgejo.event.action == 'label_updated' && forgejo.event.label.name == 'ci')
|
(forgejo.event.action == 'label_updated' && forgejo.event.label.name == 'ci')
|
||||||
runs-on: docker
|
runs-on: native
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout pull request
|
- name: Checkout pull request
|
||||||
uses: https://data.forgejo.org/actions/checkout@v4
|
uses: https://data.forgejo.org/actions/checkout@v4
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,8 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build_and_deploy:
|
build_and_deploy:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
container:
|
||||||
|
image: ghcr.io/catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -23,6 +25,7 @@ jobs:
|
||||||
- name: Build and deploy
|
- name: Build and deploy
|
||||||
env:
|
env:
|
||||||
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
|
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
|
||||||
|
COMPOSE_PROJECT_NAME: portfolio-roast-bot
|
||||||
run: |
|
run: |
|
||||||
echo "Starting Docker Compose..."
|
echo "Starting Docker Compose..."
|
||||||
docker compose build
|
docker compose build
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue