Compare commits
4
Commits
main
..
f5a6270e41
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f5a6270e41 | ||
|
|
59668b6857 | ||
|
|
515b8735ae | ||
|
|
f7ca32cb4a |
@@ -0,0 +1,15 @@
|
||||
name: Hello world
|
||||
|
||||
on:
|
||||
- push
|
||||
|
||||
jobs:
|
||||
say-hello:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Print hello
|
||||
run: echo "Hello, world! from Gitea Actions"
|
||||
|
||||
@@ -52,7 +52,7 @@ jobs:
|
||||
|| github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Setup SSH
|
||||
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
|
||||
uses: webfactory/ssh-agent@v0.9.0
|
||||
with:
|
||||
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
||||
|
||||
@@ -77,11 +77,10 @@ jobs:
|
||||
(github.event_name == 'pull_request' && github.event.action != 'closed' && github.event.pull_request.merged == false)
|
||||
|| github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Sync files via scp
|
||||
uses: appleboy/scp-action@7e85c2e09aa21988492acd66466b5d68bda49e2b # master
|
||||
uses: appleboy/scp-action@master
|
||||
with:
|
||||
host: ${{ env.SSH_HOST }}
|
||||
username: ${{ env.SSH_USER }}
|
||||
@@ -99,7 +98,7 @@ jobs:
|
||||
|| github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- name: Setup SSH
|
||||
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
|
||||
uses: webfactory/ssh-agent@v0.9.0
|
||||
with:
|
||||
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
||||
|
||||
@@ -125,7 +124,7 @@ jobs:
|
||||
(github.event.action == 'closed' || github.event.pull_request.merged == true)
|
||||
steps:
|
||||
- name: Setup SSH
|
||||
uses: webfactory/ssh-agent@e83874834305fe9a4a2997156cb26c5de65a8555 # v0.10.0
|
||||
uses: webfactory/ssh-agent@v0.9.0
|
||||
with:
|
||||
ssh-private-key: ${{ env.SSH_PRIVATE_KEY }}
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
version: "3.9"
|
||||
services:
|
||||
web:
|
||||
image: nginx:1.31.6-alpine-slim@sha256:80149a0e5bc9fa0b8beaff5b8a453f71ba8ba038895d418381297ffa5cd57782
|
||||
image: nginx:1.27.0-alpine3.19-slim@sha256:a529900d9252ce5d04531a4a594f93736dbbe3ec155a692d10484be82aaa159a
|
||||
ports:
|
||||
- "80"
|
||||
volumes:
|
||||
|
||||
+4
-8
@@ -3,13 +3,9 @@
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
// "packageRules": [
|
||||
// {
|
||||
// "matchCategories": [
|
||||
// "docker"
|
||||
// ],
|
||||
// "pinDigests": true
|
||||
// }
|
||||
// ],
|
||||
"packageRules": [{
|
||||
"docker": {
|
||||
"pinDigests": true
|
||||
}
|
||||
}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user