Skip to content

Commit

Permalink
create ci
Browse files Browse the repository at this point in the history
  • Loading branch information
metantesan authored Jul 6, 2024
1 parent bf2b8ce commit 33acc1b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This workflow will build an Arch Linux ISO file with the commit on it
name: ci
on:
push

env:
api_key: ${{ secrets.GITHUB_TOKEN }}
name: ${{ github.event.repository.name }}
release_name: ${{ github.ref_name }}
GH_TOKEN: ${{ github.token }}
HOST: mirror.parchlinux.com
jobs:
ci:
if: github.event.release.prerelease == true
permissions:
contents: write
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --privileged
steps:
- uses: actions/checkout@v3
- name: Install Packages via Pacman
run: pacman -Sy; pacman --noconfirm -S git openssh sshpass
- name: call cd
run: sshpass -p "${{ secrets.SSH_PASS }}" ssh -o StrictHostKeyChecking=no root@$HOST /srv/http/repos/update.sh

0 comments on commit 33acc1b

Please sign in to comment.