mirror of
https://code.forgejo.org/actions/ovh-dns-update
synced 2025-06-09 05:22:24 +02:00
add pr workflow
This commit is contained in:
parent
d08746cba8
commit
3ec0204437
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/pr.yml
Normal file
22
.forgejo/workflows/pr.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: pr
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
env:
|
||||||
|
CONTENT: "something from https://code.forgejo.org/forgejo/action-website-preview"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: https://code.forgejo.org/actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: ">=1.21"
|
||||||
|
check-latest: true
|
||||||
|
- name: update a record
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
subdomain: /tmp/website
|
||||||
|
# TODO: verify it runned
|
Loading…
Add table
Add a link
Reference in a new issue