Skip to content

Commit

Permalink
Adding release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaswittig committed May 3, 2024
1 parent f5e43f4 commit 48e2c49
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: release
on:
push:
tags:
- 'v*'
permissions:
id-token: write
contents: read
defaults:
run:
shell: bash
jobs:
release:
runs-on: ['hyperenv', 'medium']
steps:
- name: Create ZIP
run: |
cd plugin
zip -r ../attachmentav.zip .
cd ..
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: attachmentav
path: attachmentav.zip
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# attachmentAV WordPress plugin

Protect your blog from viruses, trojans, and other kinds of malware. The plugin sends all uploads to the attachmentAV API to scan for malware with Sophos and blocks infected files.

This plugin requires a subscription and API key: [Get API key](https://attachmentav.com/subscribe/wordpress/)

## Create artifact

```
Expand Down
3 changes: 0 additions & 3 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
services:
db:
# We use a mariadb image which supports both amd64 & arm64 architecture
image: mariadb:10.6.4-focal
# If you really want to use MySQL, uncomment the following line
#image: mysql:8.0.27
command: '--default-authentication-plugin=mysql_native_password'
volumes:
- db_data:/var/lib/mysql
Expand Down

0 comments on commit 48e2c49

Please sign in to comment.