full latest
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Failing after 2s
checks / Set up Java for Backend Tests and Build (push) Failing after 2s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Failing after 2s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Failing after 3s
checks / Set up Java for Backend Tests and Build (pull_request) Failing after 2s
Gitea Actions Demo / Builder (pull_request) Has been cancelled
Some checks failed
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (push) Failing after 2s
checks / Set up Java for Backend Tests and Build (push) Failing after 2s
Gitea Actions Demo / Explore-Gitea-Actions-2 (pull_request) Failing after 2s
checks / Set up Node and other necessary dependencies for Frontend Tests and Build (pull_request) Failing after 3s
checks / Set up Java for Backend Tests and Build (pull_request) Failing after 2s
Gitea Actions Demo / Builder (pull_request) Has been cancelled
This commit is contained in:
@ -110,7 +110,6 @@ jobs:
|
||||
|
||||
echo "Deploying to server: $SERVER_IP"
|
||||
echo "Deploying to domain: $DOMAIN_NAME"
|
||||
echo "Deploying with private key: $SSH_PRIVATE_KEY"
|
||||
|
||||
#Define Plesk web root (update DOMAIN_NAME in Gitea variables)
|
||||
WEB_ROOT="/var/www/vhosts/${DOMAIN_NAME}/httpdocs"
|
||||
|
||||
43
.gitea/workflows/full-latest.yaml
Normal file
43
.gitea/workflows/full-latest.yaml
Normal file
@ -0,0 +1,43 @@
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
Builder:
|
||||
runs-on: catthehacker-ubuntu-latest
|
||||
steps:
|
||||
- name: Info
|
||||
run: |
|
||||
echo "Triggered by ${{ gitea.event_name }} event"
|
||||
echo "Branch: ${{ gitea.ref }}"
|
||||
echo "Repository: ${{ gitea.repository }}"
|
||||
|
||||
- name: Update apt-get
|
||||
run: |
|
||||
apt-get update -y
|
||||
#apt-get update -qq >/dev/null -y
|
||||
|
||||
- name: Clone the repository
|
||||
uses: actions/checkout@v4
|
||||
#with:
|
||||
#repository: ${{ gitea.repository }}
|
||||
#token: ${{ secrets.ACCESS_TOKEN }}
|
||||
#fetch-depth: 0
|
||||
|
||||
#- name: Checkout repository manually
|
||||
# env:
|
||||
# TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
# CLONE_URL: ${{ vars.CLONE_URL }}
|
||||
# run: |
|
||||
# echo "Cloning from $CLONE_URL"
|
||||
# echo "Cloning ALL_REPO_TOKEN $ALL_REPO_TOKEN"
|
||||
# CLONE_URL_WITH_AUTH=$(echo "$CLONE_URL" | sed "s#https://#https://$ALL_REPO_TOKEN@#")
|
||||
# git clone --quiet "$CLONE_URL_WITH_AUTH" .
|
||||
# echo "${{ gitea.repository }} cloned successfully."
|
||||
Reference in New Issue
Block a user