Skip to content

Commit

Permalink
set github token
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Feb 4, 2020
1 parent 074b3a9 commit 60839da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Build
on: [pull_request, push]
env:
PKGFORGE_STATEFILE: /tmp/pkgforge
jobs:
build:
name: Build
Expand All @@ -12,8 +10,14 @@ jobs:
- name: Submodules
run: git submodule update --init --recursive
- name: Make
env:
PKGFORGE_STATEFILE: /tmp/pkgforge
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
run: make
- name: Release
env:
PKGFORGE_STATEFILE: /tmp/pkgforge
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
if: startsWith(github.ref, 'refs/tags/')
run: make release
- name: Notify on success
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM dock0/pkgforge
RUN sed -i 's/^SigLevel = Required/SigLevel = TrustAll/' /etc/pacman.conf
RUN pacman -Sy --noconfirm archlinux-keyring
RUN pacman -Sy --noconfirm archlinux-keyring
RUN pacman -Syu --needed --noconfirm mkinitcpio arch-install-scripts
RUN gem install --no-document --no-user-install pkgforge targit

0 comments on commit 60839da

Please sign in to comment.