mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-09-20 15:05:56 +08:00
Delete .github/workflows directory
This commit is contained in:
parent
ca180c44e7
commit
425f8afe20
60
.github/workflows/main.yml
vendored
60
.github/workflows/main.yml
vendored
|
@ -1,60 +0,0 @@
|
|||
name: Images
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
Images:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get install -y libguestfs-tools rng-tools wget
|
||||
|
||||
- name: Get Images
|
||||
run: |
|
||||
for image in ubuntu20.qcow2 ubuntu22.qcow2; do
|
||||
wget "https://cdn-backblaze.down.idc.wiki//Image/realServer-Template/$image"
|
||||
done
|
||||
|
||||
- name: Update qcow2
|
||||
run: |
|
||||
for image in ubuntu20.qcow2 ubuntu22.qcow2; do
|
||||
sudo bash back/rebuild_qcow2.sh $image
|
||||
done
|
||||
|
||||
- name: Move qcow2
|
||||
run: |
|
||||
mv *.qcow2 images/
|
||||
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global user.name "update"
|
||||
git config --global user.email "tg@spiritlhl.top"
|
||||
|
||||
- name: Add files to Git staging area
|
||||
run: |
|
||||
ls
|
||||
pwd
|
||||
git add .
|
||||
|
||||
- name: Check Git status
|
||||
run: |
|
||||
git branch -a
|
||||
git remote -v
|
||||
git status
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
#(
|
||||
git commit -m "Update CSV files"
|
||||
#) || true
|
||||
|
||||
- name: Push changes
|
||||
uses: ad-m/github-push-action@master
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue