A GitHub action that lets you push an Actor to the Apify platform, for example after every release.
token (required): The Apify token that should be used to authenticate the push operation. See the Apify integration docs for instructions on how to find it.
actor-id (optional): Name or ID of the Actor to push (e.g. "apify/hello-world" or "E2jjCZBezvAZnX8Rb"). If not provided, the command will create or modify the Actor with the name specified in ".actor/actor.json" file.
build-tag (optional): Build tag to be applied to the successful Actor build. By default, it is taken from the ".actor/actor.json" file.
version (optional): Actor version number to which the files should be pushed. By default, it is taken from the ".actor/actor.json" file.
jobs:
push_to_apify:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Push to Apify
uses: apify/push-actor-action@master
with:
token: ${{ secrets.APIFY_TOKEN }}