mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 17:12:33 +08:00
Delete .github/workflows directory
This commit is contained in:
58
.github/workflows/docs.yml
vendored
58
.github/workflows/docs.yml
vendored
@@ -1,58 +0,0 @@
|
||||
name: docs
|
||||
|
||||
on:
|
||||
# trigger deployment on every push to main branch
|
||||
push:
|
||||
branches: [docs]
|
||||
# trigger deployment manually
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
pages: write
|
||||
contents: write
|
||||
id-token: write
|
||||
|
||||
jobs:
|
||||
docs:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
# fetch all commits to get last updated time or other git log info
|
||||
fetch-depth: 0
|
||||
ref: docs
|
||||
|
||||
# - name: Setup pnpm
|
||||
# uses: pnpm/action-setup@v2
|
||||
# with:
|
||||
# # choose pnpm version to use
|
||||
# version: 7
|
||||
# # install deps with pnpm
|
||||
# run_install: true
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
# choose node.js version to use
|
||||
node-version: 18
|
||||
cache: npm
|
||||
|
||||
# run build script
|
||||
- name: Build VuePress site
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v3
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
# Upload entire repository
|
||||
path: './docs/.vuepress/dist'
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
36
.github/workflows/node-vless-docker.yml
vendored
36
.github/workflows/node-vless-docker.yml
vendored
@@ -1,36 +0,0 @@
|
||||
name: node-vless-docker
|
||||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
# - name: Use Node.js
|
||||
# uses: actions/setup-node@v1
|
||||
# with:
|
||||
# node-version: 18.x
|
||||
# - name: Run a multi-line script
|
||||
# run: |
|
||||
# npm install
|
||||
# npm run node-vless:bunled
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
- name: Set up Docker Buildx
|
||||
id: buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
with:
|
||||
install: true
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
# context: ./temp11
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
tags: zizifn/node-vless:latest,zizifn/node-vless:1.0.${{ github.run_number }}
|
||||
47
.github/workflows/nodejs.yml
vendored
47
.github/workflows/nodejs.yml
vendored
@@ -1,47 +0,0 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: npm-install
|
||||
|
||||
# Controls when the action will run.
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the master branch
|
||||
# push:
|
||||
# branches: [master]
|
||||
# pull_request:
|
||||
# branches: [master]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 18.x
|
||||
|
||||
#
|
||||
# - name: add ssh script
|
||||
# run: |
|
||||
# echo Hello, world!
|
||||
# # check ssh or install ssh
|
||||
# command -v ssh-agent >/dev/null || (apt-get update -y && apt-get install openssh-client -y)
|
||||
# eval $(ssh-agent -s)
|
||||
# echo $SSH_PRIVATE_KEY | tr -d '\r' | ssh-add -
|
||||
# mkdir -p ~/.ssh && chmod 700 ~./.ssh
|
||||
# echo $SSH_KNOW_HOSTS >> ~./.ssh/known_hosts && chmod 644 ~./.ssh/known_hosts
|
||||
# ssh root@host
|
||||
|
||||
# Runs a set of commands using the runners shell
|
||||
- name: Run a multi-line script
|
||||
run: |
|
||||
npm install
|
||||
18
.github/workflows/remove-old-artifacts.yml
vendored
18
.github/workflows/remove-old-artifacts.yml
vendored
@@ -1,18 +0,0 @@
|
||||
name: Remove old artifacts
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
remove-old-artifacts:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- name: Remove old artifacts
|
||||
uses: c-hive/gha-remove-artifacts@v1
|
||||
with:
|
||||
age: '2 years' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js
|
||||
# Optional inputs
|
||||
# skip-tags: true
|
||||
# skip-recent: 5
|
||||
30
.github/workflows/version-comment.yml
vendored
30
.github/workflows/version-comment.yml
vendored
@@ -1,30 +0,0 @@
|
||||
name: Add Version Comment
|
||||
|
||||
on:
|
||||
# trigger deployment on every push to main branch
|
||||
push:
|
||||
branches: [main]
|
||||
# trigger deployment manually
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
version-comment:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Modify version worker-vless.js
|
||||
uses: jaywcjlove/github-action-modify-file-content@main
|
||||
with:
|
||||
path: src/worker-vless.js
|
||||
body: "version base on commit ${{ github.sha }}, time is {{date:YYYY-MM-DD HH:mm:ss}} UTC"
|
||||
message: "Update version worker-vless.js"
|
||||
- name: Modify version worker-with-socks5-experimental.js
|
||||
uses: jaywcjlove/github-action-modify-file-content@main
|
||||
with:
|
||||
path: src/worker-with-socks5-experimental.js
|
||||
body: "version base on commit ${{ github.sha }}, time is {{date:YYYY-MM-DD HH:mm:ss}} UTC"
|
||||
message: "Update version worker-with-socks5-experimental.js"
|
||||
Reference in New Issue
Block a user