Skip to content

Commit

Permalink
Merge branch 'release/1.1.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisAlejandro committed Sep 3, 2023
2 parents df78dea + 4cdf5fa commit 35e9671
Show file tree
Hide file tree
Showing 7 changed files with 52 additions and 12 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Keep scheduled workflows alive

on:
workflow_dispatch:
schedule:
- cron: 0 0 1 * *

jobs:
keepalive:
runs-on: ubuntu-22.04
steps:
- name: Disable workflows
uses: actions/github-script@v6
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
script: |
await github.rest.actions.disableWorkflow({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'actionsflow.yml',
});
- name: Enable workflows
uses: actions/github-script@v6
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
script: |
await github.rest.actions.enableWorkflow({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'actionsflow.yml',
});
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Building docker image
uses: docker/build-push-action@v4
with:
tags: ghcr.io/luisalejandro/agoras-actions:1.1.1
tags: ghcr.io/luisalejandro/agoras-actions:1.1.2
file: docker/Dockerfile
context: docker
cache-from: type=gha
Expand Down
9 changes: 9 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Changelog


## 1.1.2 (2023-09-03)

### Fixed

* Fixing ourput name. [Luis Alejandro Martínez Faneyth]


## 1.1.1 (2023-09-01)

### Changed
Expand Down Expand Up @@ -40,6 +47,8 @@

### Fixed

* Fixin action.yml for publishing on marketplace. [Luis Alejandro Martínez Faneyth]

* Fixing image build. [Luis Alejandro Martínez Faneyth]

* Fixing actions. [Luis Alejandro Martínez Faneyth]
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

---

Current version: 1.1.1
Current version: 1.1.2

Agoras is a python utility that helps publish and delete posts on the most popular social networks (twitter, facebook, instagram and linkedin).

Expand All @@ -20,7 +20,7 @@ jobs:
publish:
runs-on: ubuntu-22.04
steps:
- uses: LuisAlejandro/agoras-actions@1.1.1
- uses: LuisAlejandro/agoras-actions@1.1.2
with:
network: facebook
action: post
Expand Down Expand Up @@ -54,14 +54,14 @@ jobs:
publish-like:
runs-on: ubuntu-22.04
steps:
- uses: LuisAlejandro/agoras-actions@1.1.1
- uses: LuisAlejandro/agoras-actions@1.1.2
id: agoras
with:
network: linkedin
action: post
status-text: This is a test post
linkedin-access-token: ZCNqH3bT0as2ZBB...
- uses: LuisAlejandro/agoras-actions@1.1.1
- uses: LuisAlejandro/agoras-actions@1.1.2
with:
network: linkedin
action: like
Expand Down
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: agoras
name: agoras-actions
author: Luis Alejandro Martínez Faneyth
description: Agoras helps publish, schedule, like, share and delete posts on the most popular social networks (twitter, facebook, instagram and linkedin).
description: Agoras helps publish, schedule, like, share and delete posts on the most popular social networks.
inputs:
network:
description: 'Social network to use for publishing (default: ""). Must be one of: twitter, facebook, instagram or linkedin.'
Expand Down Expand Up @@ -91,12 +91,12 @@ inputs:
required: false

outputs:
output:
description: Output json of published posts
result:
description: Separated comma list of published post IDs.

runs:
using: docker
image: docker://ghcr.io/luisalejandro/agoras-actions:1.1.1
image: docker://ghcr.io/luisalejandro/agoras-actions:1.1.2
args:
- network="${{ inputs.network }}"
- action="${{ inputs.action }}"
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ LABEL org.label-schema.build-date=${BUILD_DATE} \

RUN apt-get update && apt-get install jq

RUN pip3 install agoras==1.1.1
RUN pip3 install agoras==1.1.2

ADD entrypoint.sh /entrypoint.sh
ADD execute.py /execute.py
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.1
current_version = 1.1.2
tag_name = {new_version}
commit = True
tag = True
Expand Down

0 comments on commit 35e9671

Please sign in to comment.