This repository has been archived by the owner on May 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Getting this using github actions #20
Comments
My config file {
"width": 1500,
"height": 500,
"sources": {
"twitter": {
"count": 3,
"class": "App\\ImageSource\\TwitterFollowerImageSource"
}
},
"elements": {
"tw1": {
"type": "image",
"properties": {
"pos_x": 702,
"pos_y": 435,
"width": 94,
"height": 94
}
},
"tw2": {
"type": "image",
"properties": {
"pos_x": 809,
"pos_y": 435,
"width": 94,
"height": 94
}
},
"tw3": {
"type": "image",
"properties": {
"pos_x": 916,
"pos_y": 435,
"width": 94,
"height": 94
}
},
"cover": {
"type": "image",
"properties": {
"width": 1500,
"height": 500,
"pos_x": 0,
"pos_y": 0,
"image": "background.png"
}
}
}
} |
My dynacover.yml file name: Update Twitter Header Image with Dynacover
on:
schedule:
- cron: "0 * * * *"
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
path: 'dynacover_custom'
- name: 'Update Dynacover image and upload to Twitter'
uses: erikaheidi/[email protected]
env:
# Uncomment and change accordingly to customize your cover
DYNA_DEFAULT_TEMPLATE: cover_bottom.json
DYNA_TEMPLATES_DIR: ${{ github.workspace }}/dynacover_custom
DYNA_IMAGES_DIR: ${{ github.workspace }}/dynacover_custom
DYNA_TWITTER_KEY: ${{ secrets.DYNA_TWITTER_KEY }}
DYNA_TWITTER_SECRET: ${{ secrets.DYNA_TWITTER_SECRET }}
DYNA_TWITTER_TOKEN: ${{ secrets.DYNA_TWITTER_TOKEN }}
DYNA_TWITTER_TOKEN_SECRET: ${{ secrets.DYNA_TWITTER_TOKEN_SECRET }}
DYNA_GITHUB_TOKEN: ${{ secrets.DYNA_GITHUB_TOKEN }} |
It probably is something super small im missing or not seeing, like there is no way, i've read the instructions over 20 times by now and have tried all i can think of |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: