Delete .github/workflows directory

This commit is contained in:
spiritLHLS 2023-04-09 01:19:54 +08:00 committed by GitHub
parent ca180c44e7
commit 425f8afe20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 }}