Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
ci: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversalzburg committed Jul 17, 2021
1 parent f2cc236 commit d5699a1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 15 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Create and publish a Docker image
name: Publish container

on:
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}

jobs:
build-and-push-image:
runs-on: ubuntu-latest
# Container needs to be able to read repo and publish packages.
permissions:
contents: read
packages: write
Expand Down
14 changes: 5 additions & 9 deletions .github/workflows/userscript.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
# This is a basic workflow to help you get started with Actions
name: Build userscript

name: Build the userscript

# Controls when the workflow 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
# 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
# Container needs only basic repo content read permissions.
permissions:
contents: read

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down

0 comments on commit d5699a1

Please sign in to comment.